/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.TinNhan_DAO;
import DTO.TinNhan_DTO;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class TinNhan_BUS {
    
     public static ArrayList<TinNhan_DTO> GetALL(){
        return TinNhan_DAO.GetALL();
    }
    public static boolean Insert(TinNhan_DTO TinNhan){
        return TinNhan_DAO.Insert(TinNhan);
    }
    public static boolean Update(TinNhan_DTO TinNhan){
        return TinNhan_DAO.Update(TinNhan);
    }   
    public static boolean Delete(int MaTN){
        return TinNhan_DAO.Delete(MaTN);
    }
}
